package com.wash.shoes.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 质检记录表
 *
 *
 * CREATE TABLE `os_quality_inspection` (
 *   `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
 *   `order_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '订单id',
 *   `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '配饰类型',
 *   `wash_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '水洗码',
 *   `url` varchar(400) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '配饰的图片',
 *   `status` varchar(50) NOT NULL DEFAULT '0' COMMENT '质检状态', //这里的状态需要在考虑
 *   `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
 *   `extend_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '扩展字段',
 *   `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
 *   `create_time` datetime DEFAULT NULL COMMENT '创建时间',
 *   `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
 *   `update_time` datetime DEFAULT NULL COMMENT '更新时间',
 *   PRIMARY KEY (`id`) USING BTREE,
 *   KEY `idx_order_id` (`order_id`) USING BTREE
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='质检记录表';
 */
@TableName("os_quality_inspection")
@Data
public class QualityInspectionPo extends BasePersist{
    @TableId
    private String id;
    @TableField(value = "order_id")
    private String orderId;
    /**
     * 业务id， 配饰id   或者物品id
     */
    @TableField("biz_id")
    private String bizId;
    private String type;
    @TableField(value = "wash_code")
    private String washCode;
    private String url;
    //质检状态  0未质检 1已质检
    private String status;
    private String remark;
    @TableField("extend_info")
    private String extendInfo;
}
